package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (Ludr)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:19:04
 */
@ApiModel(value = "幸运抽奖实体类")
public class Ludr implements Serializable {
    private static final long serialVersionUID = -14169073116215256L;
    /**
     * 幸运抽奖id
     */
    @ApiModelProperty(name = "ludrId",notes = "幸运抽奖id",required = false,value = "幸运抽奖id")
    private Integer ludrId;
    /**
     * 抽奖状态（1：正常 0：关闭）
     */
    @ApiModelProperty(name = "ludrStatu",notes = "抽奖状态（1：正常 0：关闭）",required = false,value = "抽奖状态（1：正常 0：关闭）")
    private Integer ludrStatu;
    /**
     * 商品id（外键）
     */
    @ApiModelProperty(name = "goodsId",notes = "商品id（外键）",required = false,value = "商品id（外键）")
    private Integer goodsId;
    /**
     * 团购人数
     */
    @ApiModelProperty(name = "groudNum",notes = "团购人数",required = true,value = "团购人数")
    private Integer groudNum;
    /**
     * 抽奖价格
     */
    @ApiModelProperty(name = "ludrPrice",notes = "抽奖价格",required = true,value = "抽奖价格")
    private Double ludrPrice;
    /**
     * 抽奖人数
     */
    @ApiModelProperty(name = "ludrNum",notes = "抽奖人数",required = true,value = "抽奖人数")
    private Integer ludrNum;
    /**
     * 抽奖规则
     */
    @ApiModelProperty(name = "ludrRule",notes = "抽奖规则",required = true,value = "抽奖规则")
    private String ludrRule;
    /**
     * 开启时间
     */
    @ApiModelProperty(name = "ludrStart",notes = "开启时间",required = false,value = "开启时间")
    private Date ludrStart;
    /**
     * 结束时间
     */
    @ApiModelProperty(name = "ludrLast",notes = "结束时间",required = false,value = "结束时间")
    private Date ludrLast;
    /**
     * 首页推荐（0、不推荐 1、推荐）
     */
    @ApiModelProperty(name = "ludrHr",notes = "首页推荐（0、不推荐 1、推荐）",required = false,value = "首页推荐（0、不推荐 1、推荐）")
    private Integer ludrHr;

    /**
     * 商品实体类
     */
    @ApiModelProperty(name = "goods",notes = "商品实体类",required = false,value = "商品实体类")
    private Goods goods;


    public Integer getLudrId() {
        return ludrId;
    }

    public void setLudrId(Integer ludrId) {
        this.ludrId = ludrId;
    }

    public Integer getLudrStatu() {
        return ludrStatu;
    }

    public void setLudrStatu(Integer ludrStatu) {
        this.ludrStatu = ludrStatu;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getGroudNum() {
        return groudNum;
    }

    public void setGroudNum(Integer groudNum) {
        this.groudNum = groudNum;
    }

    public Double getLudrPrice() {
        return ludrPrice;
    }

    public void setLudrPrice(Double ludrPrice) {
        this.ludrPrice = ludrPrice;
    }

    public Integer getLudrNum() {
        return ludrNum;
    }

    public void setLudrNum(Integer ludrNum) {
        this.ludrNum = ludrNum;
    }

    public String getLudrRule() {
        return ludrRule;
    }

    public void setLudrRule(String ludrRule) {
        this.ludrRule = ludrRule;
    }

    public Date getLudrStart() {
        return ludrStart;
    }

    public void setLudrStart(Date ludrStart) {
        this.ludrStart = ludrStart;
    }

    public Date getLudrLast() {
        return ludrLast;
    }

    public void setLudrLast(Date ludrLast) {
        this.ludrLast = ludrLast;
    }

    public Integer getLudrHr() {
        return ludrHr;
    }

    public void setLudrHr(Integer ludrHr) {
        this.ludrHr = ludrHr;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    @Override
    public String toString() {
        return "Ludr{" +
                "ludrId=" + ludrId +
                ", ludrStatu=" + ludrStatu +
                ", goodsId=" + goodsId +
                ", groudNum=" + groudNum +
                ", ludrPrice=" + ludrPrice +
                ", ludrNum=" + ludrNum +
                ", ludrRule='" + ludrRule + '\'' +
                ", ludrStart=" + ludrStart +
                ", ludrLast=" + ludrLast +
                ", ludrHr=" + ludrHr +
                '}';
    }


}